export interface GatewayTypeItem {
  gatewayTypeId?: string;
  defaultGatewayTypeId?: string;
  gatewayModel?: string;
  gatewayTypeCode?: string;
  gatewayTypeName?: string;
  manufacturer?: string;
  manufacturerCode?: string;
  isActive?: boolean;
  key: string;
  [key: string]: any;
}

export interface GatewayTypeAttrItem {
  dataType: string;
  datapointAttrName: string;
  datapointAttrNumber: number;
  gatewayTypeDatapointAttrId: string;
  defaultGatewayTypeDatapointAttrId: string;
  gatewayTypeId: string;
  requires: boolean;
  validateStatus?: "success" | "error";
}

export interface GatewayItem {
  gatewayCode: string;
  gatewayId: string;
  gatewayModel: string;
  gatewayName: string;
  gatewaySerialNumber: string;
  gatewayTypeId: string;
  location: string;
  projectId: string;
  defaultGatewayTypeId: string;
  extend: string;
}

export interface GatewayPointItem {
  gatewayDatapointId: string;
  gatewayId: string;
  datapointAttrs: string;
  [key: string]: any;
}
